package com.alipay.sofa.award.common.dal.dao;

import com.alipay.sofa.award.common.dal.dataobject.UserInfo;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserInfoMapper {

    int deleteByPrimaryKey(Integer id);

    int deleteByUserId(String userId);

    int insert(UserInfo userInfo);

    UserInfo selectByPrimaryKey(Integer id);

    UserInfo selectByUserId(String userId);

    int updateByPrimaryKey(UserInfo userInfo);

    int updateByUserId(UserInfo userInfo);
}